home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
FishMarket 1.0
/
FishMarket v1.0.iso
/
fishies
/
201-225
/
disk_218
/
edlib
/
man
/
strpbrk
< prev
next >
Wrap
Text File
|
1992-05-06
|
895b
|
36 lines
STRPBRK(3) Library Functions STRPBRK(3)
NAME
strpbrk - find the first occurance of a character of a set in
a string
SYNOPSIS
#include <edlib.h>
char *strpbrk(str, charset)
char *str, *charset;
DESCRIPTION
Strpbrk searches forwards through the null terminated string
'str' for occurances of a character included in the character
set 'charset'. The 'charset' variable is null terminated string
that is treated as a character set. Therefore, repetition and
order are ignored. Strpbrk returns a pointer to the first
character of 'charset' that is found in 'str'.
DIAGNOSTICS
If no character in 'charset' is found in 'str', then a null
pointer (NULL) is returned.
AUTHOR
Daniel J. Barrett.
barrett@cs.jhu.edu or ins_adjb@jhunix.UUCP
SEE ALSO
strrpbrk(3), strcspn(3), strspn(3)